﻿<UserControl x:Class="Lottery.Client.SL.Controls.NewsContent"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk" mc:Ignorable="d"
    d:DesignHeight="342" d:DesignWidth="420">

    <Canvas x:Name="LayoutRoot" Width="420" Height="342">
        <Canvas.Background>
            <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                <GradientStop Color="#FF646464"/>
                <GradientStop Color="#FF2F2F2F" Offset="1"/>
                <GradientStop Color="#FF474545" Offset="0.1"/>
                <GradientStop Color="#FF626262" Offset="0.212"/>
                <GradientStop Color="#FF232222" Offset="0.043"/>
            </LinearGradientBrush>
        </Canvas.Background>
        <Grid x:Name="ToolBar" Height="26" Canvas.Left="1" Width="420">
            <Rectangle x:Name="Rect" RadiusX="5" RadiusY="5" StrokeThickness="0" Opacity="0">
                <Rectangle.Fill>
                    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                        <GradientStop Color="#7F000000" Offset="0.058"/>
                        <GradientStop Color="#19FFFFFF"/>
                        <GradientStop Color="#FF3F4447" Offset="1"/>
                    </LinearGradientBrush>
                </Rectangle.Fill>
            </Rectangle>
            <TextBlock TextWrapping="Wrap" Text="Lottery News" Width="100" Foreground="#CCF5FF95" FontSize="14" FontFamily="Verdana" HorizontalAlignment="Left" FontWeight="Light" FontStretch="SemiExpanded" Margin="6,4,143,6" />
            <Canvas Margin="0,0,1,2" HorizontalAlignment="Right">
                <Canvas x:Name="btnClose" Height="15" Canvas.Top="6" Width="15" Background="Transparent" Canvas.Left="-24">
                    <Rectangle Fill="#7FFFFFFF" Height="10" Width="2" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" Canvas.Left="6.335" Canvas.Top="2.001">
                        <Rectangle.RenderTransform>
                            <CompositeTransform SkewX="45"/>
                        </Rectangle.RenderTransform>
                    </Rectangle>
                    <Rectangle Fill="#7FFFFFFF" Height="10" Width="2" RenderTransformOrigin="0.5,0.5" UseLayoutRounding="False" d:LayoutRounding="Auto" Canvas.Left="6.335" Canvas.Top="2.001">
                        <Rectangle.RenderTransform>
                            <CompositeTransform SkewX="-45"/>
                        </Rectangle.RenderTransform>
                    </Rectangle>
                </Canvas>
                <Canvas x:Name="Minimized" Height="15" Canvas.Top="6" Width="15" Background="Transparent" Canvas.Left="-44">
                    <Rectangle x:Name="min" Fill="#7FFFFFFF" Height="2" Width="14" RenderTransformOrigin="0,0" StrokeThickness="0" Canvas.Top="5"/>
                </Canvas>
                
            </Canvas>
            <Ellipse Height="1" StrokeThickness="0" Margin="0,0,0,-1" VerticalAlignment="Bottom">
                <Ellipse.Fill>
                    <RadialGradientBrush GradientOrigin="0.023,0.044">
                        <GradientStop Offset="1" Color="#26C8C8C8"/>
                        <GradientStop Color="#4CFFFFFF"/>
                    </RadialGradientBrush>
                </Ellipse.Fill>
            </Ellipse>
        </Grid>
        <Grid Canvas.Left="6" Canvas.Top="74"></Grid>
        <StackPanel Canvas.Left="7" Canvas.Top="33">
            <TextBlock Text="News..." Foreground="#CCFFFFFF"></TextBlock>
        </StackPanel>
    </Canvas>
</UserControl>
